import { get } from '../utils/request'

const api = {
  // 获取推荐歌单
  getRecommend (params) {
    return get('/api/recommend/resource')
  },
  /**
     * 登陆接口15701286613 iwen0403
     */
  login (params) {
    return get('/api/login/cellphone', params)
  },
  // 推荐歌曲接口
  sheeTlist () {
    return get('/api/personalized/newsong')
  },
  // 推荐歌曲 /playlist/detail?id=24381616
  MusiDetails (params) {
    return get('/api/playlist/detail', params)
  },
  // 歌单播放
  getPlayer (params) {
    return get('/api/song/url', params)
  },
  // 电台分类接口
  getreCommend (params) {
    return get('api/dj/recommend/type', params)
  },
  // 搜索接口
  getSearch (params) {
    return get('api/search', params)
  }
}

// 导出api
export default api
